﻿using SmartConference.Api.DTO;
using SmartConference.Domain;
using SmartConference.ErrorCode;
using System.ComponentModel;

namespace SmartConference.Api.Applocations.IServices
{
    public interface IMeetingRoomServices
    {
        Task<ApiResult<ApiPaging<MeetingRoom>>> ShowMeetRoom(string? RoomName, [DefaultValue(1)] int pageIndex, [DefaultValue(10)] int pageSize);
        Task<ApiResult> AddMeetRoom(AddMeetingRoomDTO meetingRoom);
        Task<ApiResult> UpdateMeetRoom(MeetingRoom meetingRoom);
        Task<ApiResult> DeleteMeetRoom(int Id);
        Task<ApiResult<IList<MeetingRoom>>> GetMeetRoom();
        Task<ApiResult<int>> BatchDeleteRoom(int[] ids);
    }
}
